package bpmn.task;

import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.DelegateTask;
import org.camunda.bpm.engine.delegate.JavaDelegate;
import org.camunda.bpm.engine.delegate.TaskListener;

public class FormTask2 implements JavaDelegate, TaskListener {


    @Override
    public void execute(DelegateExecution execution) throws Exception {


        System.out.println("这是一个from task2");
        System.out.println("这是一个from task2");
        System.out.println("这是一个from task2");
        System.out.println("这是一个from task2");
        System.out.println("这是一个from task2");
        System.out.println("这是一个from task2");
        System.out.println("这是一个from task2");
        System.out.println("这是一个from task2");






    }


    @Override
    public void notify(DelegateTask delegateTask) {


        System.out.println(delegateTask);


        System.out.println("sdfsd");
    }
}
